from django.urls import path
from . import views

urlpatterns = [
    path('api/login', views.login, name='login'),
    path('api/auth/generate_account', views.generate_account, name='generate_account'),
    path('api/auth/edit_pwd', views.edit_pwd, name='edit_pwd'),
    path('api/auth/list_account', views.list_account, name='list_account'),
    path('api/auth/logout', views.logout, name='logout'),
    path('api/auth/del_account', views.del_account, name='del_account'),
    path('api/auth/edit_teacher', views.edit_teacher, name='edit_teacher'),
    path('api/auth/del_teacher', views.del_teacher, name='del_teacher'),
    path('api/auth/list_teacher', views.list_teacher, name='list_teacher'),
    path('api/auth/major_teacher', views.major_teacher, name='major_teacher'),
    path('api/auth/edit_student', views.edit_student, name='edit_student'),
    path('api/auth/del_student', views.del_student, name='del_student'),
    path('api/auth/list_student', views.list_student, name='list_student'),
    path('api/student_info', views.student_info, name='student_info'),
    path('api/auth/edit_class', views.edit_class, name='edit_class'),
    path('api/auth/del_class', views.del_class, name='del_class'),
    path('api/auth/list_class', views.list_class, name='list_class'),
    path('api/auth/edit_lesson', views.edit_lesson, name='edit_lesson'),
    path('api/auth/del_lesson', views.del_lesson, name='del_lesson'),
    path('api/auth/list_lesson', views.list_lesson, name='list_lesson'),
    path('api/auth/edit_score', views.edit_score, name='edit_score'),
    path('api/auth/list_score', views.list_score, name='list_score'),
    path('api/auth/excel_upload', views.excel_upload, name='excel_upload'),
    path('api/auth/excel_export', views.excel_export, name='excel_export'),
]